package com.relytosoft.mizar.media.common.config.properties;

import com.relytosoft.mizar.media.common.constant.PropertyConstants;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 开阳安防系统音视频分析配置信息
 *
 * @Author SunLi
 * @Date: 2022/5/19 12:06
 * @Version 1.0
 */
@ConfigurationProperties(prefix = PropertyConstants.PROPERTY_MIZAR_ANALYZE)
public class MizarAnalyzeProperties {
    private String openApiUrl;
    private String deviceOpenApiUrl;
    private String appkey;
    private String appSecret;
    private String struDataUrl;
    private String struAlarmUrl;
    private String struTaskStatusUrl;
    private String faceDataUrl;
    private String faceAlarmUrl;
    private String faceTaskStatusUrl;
    private String behaviorDataUrl;
    private String struPicTaskDataUrl;
    private Integer taskCanStopTime;
    private Long picBypicExpirationTime;


    public Long getPicBypicExpirationTime() {
        return picBypicExpirationTime;
    }

    public void setPicBypicExpirationTime(Long picBypicExpirationTime) {
        this.picBypicExpirationTime = picBypicExpirationTime;
    }

    public String getOpenApiUrl() {
        return openApiUrl;
    }

    public void setOpenApiUrl(String openApiUrl) {
        this.openApiUrl = openApiUrl;
    }

    public String getDeviceOpenApiUrl() {
        return deviceOpenApiUrl;
    }

    public void setDeviceOpenApiUrl(String deviceOpenApiUrl) {
        this.deviceOpenApiUrl = deviceOpenApiUrl;
    }

    public String getAppkey() {
        return appkey;
    }

    public void setAppkey(String appkey) {
        this.appkey = appkey;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public String getFaceAlarmUrl() {
        return faceAlarmUrl;
    }

    public void setFaceAlarmUrl(String faceAlarmUrl) {
        this.faceAlarmUrl = faceAlarmUrl;
    }

    public String getStruAlarmUrl() {
        return struAlarmUrl;
    }

    public void setStruAlarmUrl(String struAlarmUrl) {
        this.struAlarmUrl = struAlarmUrl;
    }

    public String getFaceTaskStatusUrl() {
        return faceTaskStatusUrl;
    }

    public void setFaceTaskStatusUrl(String faceTaskStatusUrl) {
        this.faceTaskStatusUrl = faceTaskStatusUrl;
    }

    public String getStruDataUrl() {
        return struDataUrl;
    }

    public void setStruDataUrl(String struDataUrl) {
        this.struDataUrl = struDataUrl;
    }

    public String getStruTaskStatusUrl() {
        return struTaskStatusUrl;
    }

    public void setStruTaskStatusUrl(String struTaskStatusUrl) {
        this.struTaskStatusUrl = struTaskStatusUrl;
    }

    public String getStruPicTaskDataUrl() {
        return struPicTaskDataUrl;
    }

    public void setStruPicTaskDataUrl(String struPicTaskDataUrl) {
        this.struPicTaskDataUrl = struPicTaskDataUrl;
    }

    public Integer getTaskCanStopTime() {
        return taskCanStopTime;
    }

    public void setTaskCanStopTime(Integer taskCanStopTime) {
        this.taskCanStopTime = taskCanStopTime;
    }

    public String getBehaviorDataUrl() {
        return behaviorDataUrl;
    }

    public void setBehaviorDataUrl(String behaviorDataUrl) {
        this.behaviorDataUrl = behaviorDataUrl;
    }

    public String getFaceDataUrl() {
        return faceDataUrl;
    }

    public void setFaceDataUrl(String faceDataUrl) {
        this.faceDataUrl = faceDataUrl;
    }

    @Override
    public String toString() {
        return "MizarAnalyzeProperties{" +
                "openApiUrl='" + openApiUrl + '\'' +
                ", deviceOpenApiUrl='" + deviceOpenApiUrl + '\'' +
                ", appkey='" + appkey + '\'' +
                ", appSecret='" + appSecret + '\'' +
                ", struDataUrl='" + struDataUrl + '\'' +
                ", struAlarmUrl='" + struAlarmUrl + '\'' +
                ", struTaskStatusUrl='" + struTaskStatusUrl + '\'' +
                ", faceDataUrl='" + faceDataUrl + '\'' +
                ", faceAlarmUrl='" + faceAlarmUrl + '\'' +
                ", faceTaskStatusUrl='" + faceTaskStatusUrl + '\'' +
                ", behaviorDataUrl='" + behaviorDataUrl + '\'' +
                ", struPicTaskDataUrl='" + struPicTaskDataUrl + '\'' +
                ", taskCanStopTime=" + taskCanStopTime +
                ", picBypicExpirationTime=" + picBypicExpirationTime +
                '}';
    }

}
